package com.rongxun.hbwallet.mvp.contract;

import com.rongxun.base.IBase;
import com.rongxun.hbwallet.model.Response;
import com.rongxun.hbwallet.model.bean.SweetsInfo;
import com.rongxun.hbwallet.model.bean.User;
import com.rongxun.hbwallet.model.bean.UserCandyInfo;
import com.rongxun.hbwallet.model.bean.UserCitymoneyInfo;
import com.rongxun.hbwallet.model.entity.SubCate;


import java.util.List;

import io.reactivex.Flowable;
import io.reactivex.Observable;

/**
 * 创建者     庄丰泽
 * 创建时间   2018/8/8 14:52
 * 描述	      我的
 */


public interface IMySelf extends IBase {

    interface IView extends IBase.IView {
        void showSelection(List<SubCate> subCates);
        void getUserCityMoneyInfo(UserCitymoneyInfo info);
        void showUserInfo();
        void getExchangeRatio(String data);
        void IntoExchangeToken(String data);
        void showUserCandyInfo(UserCandyInfo info);
    }

    interface IPresenter extends IBase.IPresenter {
        void setSelection(String[] titles);
        void getUserCityMoneyInfo();
        void getConfig(Boolean is_into,String key_value);
        void getUserCandyInfo();
    }

    interface IModel extends IBase.IModel{
        Observable<Response<String>> getConfig(String key_value);
        Flowable<Response<UserCitymoneyInfo>> getUserCityMoneyInfo();
        Flowable<Response<UserCandyInfo>> getUserCandyInfo();
    }
}
